<?php

class Models_Patients
        extends Zend_Db_Table_Abstract {

    protected $_name = 'Patients';
    protected $_primary = 'UserId';
    protected $_dependensTables = array(
        'Models_Users'
    );
    protected $_referenceMap = array(
        'PatientsUsers' => array(
            'columns' => 'UserId',
            'refTableClass' => 'Models_Users',
            'refColumns' => 'UserId'
        )
    );

}